package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/6 0006.
 */

public class PlatformCoinDetailParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "ptb/CurrencyLog";

    private String uid;
    @Override
    public String getServiceString() {
        return SERVICE;
    }

    public PlatformCoinDetailParams(String gameId) {
        setGameId(gameId);
    }


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }


    public PlatformCoinDetailParams() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(uid);
    }

    protected PlatformCoinDetailParams(Parcel in) {
        super(in);
        uid = in.readString();
    }

    public static final Creator<PlatformCoinDetailParams> CREATOR = new Creator<PlatformCoinDetailParams>() {
        @Override
        public PlatformCoinDetailParams createFromParcel(Parcel source) {
            return new PlatformCoinDetailParams(source);
        }

        @Override
        public PlatformCoinDetailParams[] newArray(int size) {
            return new PlatformCoinDetailParams[size];
        }
    };
}
